package com.li.mapper;

import com.li.model.UserModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.li.pojo.DataDto;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.cursor.Cursor;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author LRC
 * @since 2021-02-22
 */
public interface UserMapper extends BaseMapper<UserModel> {

    void addMore(@Param("taleName") String taleName, @Param("userList") List<UserModel> userList);

    List<DataDto> getUserList3();

    Cursor<UserModel> getUserList4();
}
